// 鼠标经过box1增加红色边框
function mouseOver() {
    document.getElementById('box1').style.border = "2px solid red"
}

// 鼠标离开box1取消边框效果
function mouseOut(){
    document.getElementById('box1').style.border = ""
}